﻿namespace Ensurance.Constraints
{
    public abstract class UnaryConstraint<T> : Constraint<T>
    {
        public IConstraint<T> BaseConstraint { get; set; }

        protected UnaryConstraint(IConstraint<T> baseConstraint)
        {
            BaseConstraint = baseConstraint;
        }
    }
}
